class WelcomeController < ApplicationController
    
    def index
        # Put first 10 posts on the front page
        @articles = Article.all.last(10).reverse
    end
end
